package com.bank.doman.auth.io.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 类RoleAllotMenuBo.java的实现描述：设置角色权限入参
 *
 * @author zach
 * @Date :2020-06-23 16:39.
 */

@Setter
@Getter
@ApiModel("设置角色权限入参")
public class RoleAllotMenuBo {

    /**
     * 角色ID
     */
    @NotNull(message ="角色ID不能为空,请重新填写")
    @ApiModelProperty(value = "角色ID",required = true)
    private String roleId;

    /**
     * 权限列表
     */
    @ApiModelProperty(value = "权限id多个")
    private List<String> menus;
}
